package com.dhp.campus.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dhp.campus.domain.Friends;
import com.dhp.campus.domain.vo.FriendsRecordsVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author Dhp
* @description 针对表【friends(好友申请管理表)】的数据库操作Service
* @createDate 2024-03-12 15:17:19
*/
public interface FriendsService extends IService<Friends> {

    List<FriendsRecordsVO> getRecords(HttpServletRequest request);

    Boolean addFriends(Long userId , HttpServletRequest request);

    List<FriendsRecordsVO> getMyRecord(HttpServletRequest request);

    Boolean agreeApply(Long id, HttpServletRequest request);

    Boolean refuseApply(Long id, HttpServletRequest request);

    Boolean deleteFriend(Long id, HttpServletRequest request);
}
